import {checkAuth} from '@/libs/util'

class AuthCheck {
  constructor() {

  }
  commandDispatch=()=>{return checkAuth('commandDispatch')};
  cammandDispatchView=()=>{return checkAuth('commandDispatch_view')};
  commandDispatchGroupTalk=()=>{return checkAuth('commandDispatch_group_talk')};

  userReg = () => { return checkAuth('user_reg')};
  userRegView = () => { return checkAuth('user_reg_view')};
  userRegEdit = () => { return checkAuth('user_reg_edit')};

  userRole = () => { return checkAuth('user_role')};
  userRoleView = () => { return checkAuth('user_role_view')};
  userRoleEdit = () => { return checkAuth('user_role_edit')};

  multiScreenPlay = () => { return checkAuth('multiScreenPlay')};
  moveTrackPlay = () => { return checkAuth('moveTrackPlay')};
  dataMain = () => { return checkAuth('data_main')};
  statistics = () => { return checkAuth('statistics')};
  alarmManage = () => { return checkAuth('alarmManage')};
  alarmManageView = () => { return checkAuth('alarmManage_view')};
  alarmManageDispose = () => { return checkAuth('alarmManage_dispose')};

  netDevReg = () => { return checkAuth('net_dev_reg')};
  netDevRegView = () => { return checkAuth('net_dev_reg_view')};
  netDevRegEdit = () => { return checkAuth('net_dev_reg_edit')};

  standAloneDevReg = () => { return checkAuth('stand_alone_dev_reg')};
  standAloneDevRegView = () => { return checkAuth('stand_alone_dev_reg_view')};
  standAloneDevRegEdit = () => { return checkAuth('stand_alone_dev_reg_edit')};

  gpsDevReg = () => { return checkAuth('gps_dev_reg')};
  gpsDevRegView = () => { return checkAuth('gps_dev_reg_view')};
  gpsDevRegEdit = () => { return checkAuth('gps_dev_reg_edit')};

  collectSiteReg = () => { return checkAuth('collect_site_reg')};
  collectSiteRegView = () => { return checkAuth('collect_site_reg_view')};
  collectSiteRegEdit = () => { return checkAuth('collect_site_reg_edit')};

  storageSvrReg = () => { return checkAuth('storage_svr_reg')};
  storageSvrRegView = () => { return checkAuth('storage_svr_reg_view')};
  storageSvrRegEdit = () => { return checkAuth('storage_svr_reg_edit')};

/*  fenceManage = () => { return checkAuth('fence_manage')};
  fenceAlarm = () => { return checkAuth('fence_alarm')};*/

  organizationReg= () => { return checkAuth('organization_reg')};
  organizationRegView= () => { return checkAuth('organization_reg_view')};
  organizationRegEdit= () => { return checkAuth('organization_reg_edit')};

  fenceMaintain = () => { return checkAuth('fence_maintain')};
  fenceMaintainView = () => { return checkAuth('fence_maintain_view')};
  fenceMaintainEdit = () => { return checkAuth('fence_maintain_edit')};
}
export default AuthCheck;
